package compositePattern

class Employee(private val name: String, private val position: String) : Company {
    override fun getInfo(): String {
        return "姓名:$name 职位:$position"
    }
}